//
//  WorkOrderPreview.h
//  WOPrototype
//
//  Created by Alexander Skogberg on 2010-04-15.
//  Copyright 2010 Chalmers tekniska högskola. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WOAddress.h"

@interface WorkOrderPreview : NSObject
{
	NSInteger workID;
	NSString *description;
	NSString *status;
	NSString *priority;
	WOAddress *address;
	NSDate *entryDate;
	NSDate *endDate;
	BOOL assigned;
	BOOL notAssignedToAnyone;
}

@property (nonatomic,assign) NSInteger workID;
@property (nonatomic,retain) NSString *description;
@property (nonatomic,retain) NSString *status;
@property (nonatomic,retain) NSString *priority;
@property (nonatomic,retain) WOAddress *address;
@property (nonatomic,retain) NSDate *entryDate;
@property (nonatomic,retain) NSDate *endDate;
@property (assign) BOOL assigned;
@property (assign) BOOL notAssignedToAnyone;

-(id) initWithWorkID:(NSInteger ) aWorkID 
		 description:(NSString *) aDescription 
			  status:(NSString *) aStatus
			priority:(NSString *) aPriority 
			 address:(WOAddress *) anAddress 
		   entryDate:(NSDate *) anEntryDate
			 endDate:(NSDate *) anEndDate;

@end
